﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Omes.Model;

namespace Omes.Services
{
    public interface IResourceService
    {
        ImagePage GetImages(int pageid, string blockName=null, int pageNumber=0, int pageSize=0,int commend=0);

        Html GetHtml(int pageid, string blockName=null,int commend=0);

        List<Link> GetLinks(int pageid, string blockName=null, int commend = 0);

        ListPage GetNews(int pageid, string blockName = null, int pageNumber = 0, int pageSize = 0, int commend = 0,string newType=null);

         Html GetHtmlByid(int htmlid);

         NewsList GetLinkByid(int linkid);

         ImageList GetImageByid(int imgid);

          List<Omes.Model.ImageList> GetAds();

    }
}
